package net.wangds.auth.job.entity;

import lombok.NoArgsConstructor;
import net.wangds.auth.common.entity.AbstractResActionRef;

import javax.persistence.*;

@Entity
@Table(
        name="auth_job_res_ref",
        indexes=@Index(unique=true, columnList="jobId,resId")

)
@NoArgsConstructor(force = true)
public class GeneralJobResRef extends AbstractResActionRef {
    private static final long serialVersionUID = 0;
    /**
     * 职位id.
     */
    @Column(length=36)
    private String jobId;

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }
}
